package com.jd.domain;

import lombok.*;

@Data // get set toString
@Setter
@Getter
@ToString
@NoArgsConstructor // 空参构造
@AllArgsConstructor // 有参构造
@EqualsAndHashCode
public class Emp {

    private Long id;
    private String name;
    private Long dept_id;
    private Dept dept;

}

